﻿using ParkManagement.Domain;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace ParkManagement
{
    /// <summary>
    /// 停哪儿管理应用模块
    /// </summary>
    [DependsOn(
        typeof(ParkManagementDomainModule),
        typeof(AbpDddApplicationModule),
        typeof(AbpAutoMapperModule)
        )]
    public class ParkManagementApplicationModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddProfile<ParkManagementApplicationAutoMapperProfile>(validate: true);
            });
        }
    }
}